<?php

return [
    'enablePrettyUrl' => true,
    'showScriptName'  => false,
    'enableStrictParsing' => false,
    'rules'           => [
        ['class' => 'common\components\UrlRule', 'pattern' => '<controller>/<action>/<wid:\d+>', 'route' => '<controller>/<action>'],
        ['class' => 'common\components\UrlRule', 'pattern' => '<module>/<controller>/<action>/<wid:\d+>', 'route' => '<module>/<controller>/<action>'],
    ],
];
